package fuxi1;

public class Test4 {

    public static void main(String[] args) {
        Cat ca=new Cat("小白",2,"公",18);

        ca.eat("大龙虾");
        ca.hobby(2,"摸鱼");
        int[] nums={1,2,3,4,5};
        ca.compute(nums);
        Cat ca2=ca.showInfo("花花",3,"母",18);
        System.out.println(ca2.name);
    }
}
